package com.platform.qujia.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class OilEngine {
    /**
     * 油机数据记录id
     */
    private Long id;

    /**
     * 通道
     */
    private String passageway;

    /**
     * 卡号
     */
    private String cardNum;

    /**
     * 订单号,油机订单流水号，不是pay_order表订单号
     */
    private String orderNum;

    /**
     * 加油员id
     */
    private String oilPersonnelId;

    /**
     * 油枪
     */
    private String oilGun;

    /**
     * 油品编号，注意不是oil_id
     */
    private String oilNameNum;

    /**
     * 油品
     */
    private String oilName;

    /**
     * 单价
     */
    private BigDecimal oilPrice;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 卡余额
     */
    private BigDecimal balanceAmount;

    /**
     * 数量,加油升数
     */
    private Double orderLiters;

    /**
     * 开始泵码，油机加油前升数
     */
    private Double startFlowMeter;

    /**
     * 结束泵码，油机加油后升数
     */
    private Double endFlowMeter;

    /**
     * 油企id
     */
    private Long enterpriseId;

    /**
     * 油企名
     */
    private String enterpriseName;

    /**
     * 油站id
     */
    private Long stationId;

    /**
     * 油站名
     */
    private String stationName;

    /**
     * 订单时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    /**
     * 逻辑删除标志，0 表示未删除，1 表示已删除
     */
    private String isDeleted;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**支付状态：0：未支付；1：已支付*/
    @ApiModelProperty("支付状态：0：未支付；1：已支付")
    private String status;

    /**支付时间*/
    @ApiModelProperty("支付时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date payTime;

    @ApiModelProperty("开始时间")
    private String beginTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassageway() {
        return passageway;
    }

    public void setPassageway(String passageway) {
        this.passageway = passageway == null ? null : passageway.trim();
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum == null ? null : cardNum.trim();
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public String getOilPersonnelId() {
        return oilPersonnelId;
    }

    public void setOilPersonnelId(String oilPersonnelId) {
        this.oilPersonnelId = oilPersonnelId;
    }

    public String getOilGun() {
        return oilGun;
    }

    public void setOilGun(String oilGun) {
        this.oilGun = oilGun == null ? null : oilGun.trim();
    }

    public String getOilNameNum() {
        return oilNameNum;
    }

    public void setOilNameNum(String oilNameNum) {
        this.oilNameNum = oilNameNum == null ? null : oilNameNum.trim();
    }

    public String getOilName() {
        return oilName;
    }

    public void setOilName(String oilName) {
        this.oilName = oilName == null ? null : oilName.trim();
    }

    public BigDecimal getOilPrice() {
        return oilPrice;
    }

    public void setOilPrice(BigDecimal oilPrice) {
        this.oilPrice = oilPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getBalanceAmount() {
        return balanceAmount;
    }

    public void setBalanceAmount(BigDecimal balanceAmount) {
        this.balanceAmount = balanceAmount;
    }

    public Double getOrderLiters() {
        return orderLiters;
    }

    public void setOrderLiters(Double orderLiters) {
        this.orderLiters = orderLiters;
    }

    public Double getStartFlowMeter() {
        return startFlowMeter;
    }

    public void setStartFlowMeter(Double startFlowMeter) {
        this.startFlowMeter = startFlowMeter;
    }

    public Double getEndFlowMeter() {
        return endFlowMeter;
    }

    public void setEndFlowMeter(Double endFlowMeter) {
        this.endFlowMeter = endFlowMeter;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName == null ? null : enterpriseName.trim();
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}